package com.tianbao54.factory.simple;

public class Client {

    public static void main(String[] args) {

        Factory factory = new Factory();

        Person person = factory.create("american");
        person.say("jerry");

        Person person2 = factory.create("chinese");
        person2.say("张三");
    }
}
